package com.njym.java.security.app.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2019-11-22 16:44:11
 */
@Table(name = "family_user_groups")
public class FamilyUserGroups implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //群昵称
    @Column(name = "ug_name")
    private String ugName;
	
	    //创建时间
    @Column(name = "ug_create_time")
    private Date ugCreateTime;
	
	    //群主id
    @Column(name = "us_admin_id")
    private Integer usAdminId;
	
	    //群图标
    @Column(name = "ug_icon")
    private String ugIcon;
	
	    //群公告
    @Column(name = "ug_notice")
    private String ugNotice;
	
	    //群简介
    @Column(name = "ug_intro")
    private String ugIntro;

	//群 人数
	@Column(name = "ug_num")
	private Integer ugNum;

	//是否家庭群
	@Column(name = "is_family")
	private Integer isFamily;

	public Integer getIsFamily() {
		return isFamily;
	}

	public void setIsFamily(Integer isFamily) {
		this.isFamily = isFamily;
	}

	public Integer getUgNum() {
		return ugNum;
	}

	public void setUgNum(Integer ugNum) {
		this.ugNum = ugNum;
	}

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：群昵称
	 */
	public void setUgName(String ugName) {
		this.ugName = ugName;
	}

	/**
	 * 获取：群昵称
	 */
	public String getUgName() {
		return ugName;
	}

	/**
	 * 设置：创建时间
	 */
	public void setUgCreateTime(Date ugCreateTime) {
		this.ugCreateTime = ugCreateTime;
	}

	/**
	 * 获取：创建时间
	 */
	public Date getUgCreateTime() {
		return ugCreateTime;
	}

	/**
	 * 设置：群主id
	 */
	public void setUsAdminId(Integer usAdminId) {
		this.usAdminId = usAdminId;
	}
	/**
	 * 获取：群主id
	 */
	public Integer getUsAdminId() {
		return usAdminId;
	}
	/**
	 * 设置：群图标
	 */
	public void setUgIcon(String ugIcon) {
		this.ugIcon = ugIcon;
	}
	/**
	 * 获取：群图标
	 */
	public String getUgIcon() {
		return ugIcon;
	}
	/**
	 * 设置：群公告
	 */
	public void setUgNotice(String ugNotice) {
		this.ugNotice = ugNotice;
	}
	/**
	 * 获取：群公告
	 */
	public String getUgNotice() {
		return ugNotice;
	}
	/**
	 * 设置：群简介
	 */
	public void setUgIntro(String ugIntro) {
		this.ugIntro = ugIntro;
	}
	/**
	 * 获取：群简介
	 */
	public String getUgIntro() {
		return ugIntro;
	}
}
